<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>评测系统</title>
    <style>
        body{margin-left:20%; }
    </style>
</head>

<body>
    <div align="left">
        <h1>人力资源评测系统</h1>
    </div>
    <form action="{% url 'usercheck' %}" method="post">
        {% csrf_token %}
        <p>姓名: <input type="text" name="username"  required></p>
        <p>电话: <input type="tel" name="telphone" pattern="^1[3|4|5|8][0-9]\d{8}$" required></p>
        {% for testpaper in alltestpapers %}
        <p>
            <input type="radio" name="testpapers" id="testpapers" value="{{ forloop.counter }}"  required>
            <label><font size=5> {{ testpaper.title }} </font> </label>
        </p>
        {% endfor %}
        <br><p><input type="submit" name="start" value="开始测评" style="width:100px;height:40px"></p>
    </form>
</body>
</html>